home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 040a / dig13.zip / README < prev   
Text File  |  1991-09-24  |  2KB  |  48 lines

  1. DIG is a guy who amplifies and modifies sound files.  I wrote it because I 
  2. was disappointed with the sound of digitized voices and music when played 
  3. with REMAC and REPLAY through the PC speaker.  DIG will read regular 8-bit 
  4. digitized sound, and a) amplify it, and/or b) remove spikes from it in a way 
  5. you choose.  DIG has also helped further my FORTRAN and C language education.  
  6.  
  7. The Zip file DIG13.ZIP should contain the following files:
  8.  
  9.       AND-NOW.M2      14232     91/02/08      Sample input sound file
  10.       AND-NOW2.M2     14232     91/09/24      Amplified sound file
  11.       DIG.EXE         42208     91/09/23      Compiled FORTRAN program
  12.       DIG.FOR          2141     91/09/23      FORTRAN source code
  13.       DIGC.C           2787     91/09/24      C source code
  14.       DIGC.EXE        25358     91/09/24      Compiled C program
  15.  
  16. plus this README file.  The first two files are "before and after" examples 
  17. of a sound file which has been amplified by a factor of 2.  Use REMAC with a 
  18. speed setting of 2 to play these files.  The programs were compiled with 
  19. Microsoft FORTRAN 5.1 and Borland Turbo C 1.1.
  20.  
  21.  
  22. USAGE:  
  23.                       dig infile outfile
  24.  
  25. If you forget the filenames, the FORTRAN version will ask for them, while the 
  26. C version will tell you to start over.  The program will then prompt you for 
  27. volume factor, spike limit, and ask if you want an ASCII listing of the data 
  28. (careful:  it's long!).  The FORTRAN version took 16 seconds to amplify 
  29. "and-now" on my computer, while the C version took over 30 seconds.  Does 
  30. anyone know why?
  31.  
  32. Some distortion is introduced if the amplified waveform exceeds the 128 
  33. half-amplitude limit.  This involves clipping of the waveform, and should not 
  34. be noticeable to the ear.
  35.  
  36. Play with the source code as much as you wish, but I'd like to know about any
  37. improvements you make or any comments you have.  I can be found at 
  38. Comp-U-Ease (408-286-8332), or The Engineers' Club, (408-265-3353).
  39.  
  40.                                           --Bill Weitze
  41.  
  42. Revision Notes:
  43.  
  44. 1.0 (02-08-91):  Initial release.
  45. 1.1 (04-16-91):  Now reads input into a vector, which makes the program faster.
  46. 1.2 (06-10-91):  Added smoothing (spike removal) and other improvements.
  47. 1.3 (09-24-91):  Simplified code, adapted for MS Fortran 5.1, ported to C.
  48.